/**
 * Author: Shen Yanqiu
 * Date: 2017-12-08
 * Time: 18:50
 *
 */
import configs from '../src/config';
import Mock from "mockjs";

const { mockAPIPrefix } = configs;

export default {

  [`GET ${mockAPIPrefix}/register/registerpost`] (req, res) {
    setTimeout(() => {
      res.json({
        success: true,
        data: {
          list: data,
          total: activity.length,
        },
      });
    }, 2000);
  },
  [`GET ${mockAPIPrefix}/register/school`] (req, res) {
    // let { id } = req.query;
    // console.log(id);
    setTimeout(() => {
      res.json({
        success: true,
        data: {
          details: data,
        },
      });
    }, 2000);
  },
};
